package com.example.esquel_carpool.entity.home;

import java.io.Serializable;

public class CategoriesBean implements Serializable {
    /**
     * id : 31
     * parent_id : 0
     * sort : 0
     * type : 100
     * name : 家用电器
     */

    private int id;
    private int parent_id;
    private int sort;
    private int type;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "CategoriesBean{" +
                "id=" + id +
                ", parent_id=" + parent_id +
                ", sort=" + sort +
                ", type=" + type +
                ", name='" + name + '\'' +
                '}';
    }
}
